﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using XbsWebAPI.Application.SystemAdmin.Dtos;

namespace XbsWebAPI.Application.SystemAdmin
{
    public interface ISystemRoleAppService
    {
        ResultDto<List<ListSystemRoleDto>> GetSystemRoles();
        ResultDto<GetSystemRoleDto> GetSystemRoleById(Guid id);
        Task<ResultDto<string>> CreateSystemRoleAsync(CreateSystemRoleDto model);
        Task<ResultDto<string>> UpdateSystemRoleAsync(EditSystemRoleDto model);
        Task<ResultDto<string>> RemoveRoleByIdAsync(Guid id);
        ResultDto<List<MenuTreeDto>> ShowMenusTree();
        List<MenuTreeDto> CurrentMenuTreeList(List<Guid> menuIds);
    }
}
